/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package mud;

import java.io.IOException;
import java.net.ServerSocket;

/**
 *
 * @author jlink005
 */
public class SimpleServerSocketImpl implements SimpleServerSocket {

    private final ServerSocket serverSocket;

    public SimpleServerSocketImpl(ServerSocket serverSocket) {
        this.serverSocket = serverSocket;
    }

    public SimpleSocket accept() throws IOException {
        return new SimpleSocketImpl(serverSocket.accept());
    }

}
